home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
pdcurs21.zip
/
PORTABLE.ZIP
/
WINSCH.C
< prev
next >
Wrap
Text File
|
1992-11-21
|
2KB
|
48 lines
#define CURSES_LIBRARY 1
#include <curses.h>
#undef winsch
#ifndef NDEBUG
char *rcsid_winsch = "$Header: c:/curses/portable/RCS/winsch.c%v 2.0 1992/11/15 03:29:26 MH Rel $";
#endif
/*man-start*********************************************************************
winsch() - Insert character
X/Open Description:
The character ch is inserted before the character under the
cursor. All characters to the right are moved one space to the
right, possibly losing the rightmost character on the line.
The cursor position does not change (after moving to y,x if
specified).
NOTE: insch(), mvinsch(), mvwinsch() are macros.
PDCurses Description:
See the call ctrl( bool bf ); for information regarding the
replacement of all former 1.4 and prior "raw" PDCurses
routines.
X/Open Return Value:
These functions return OK on success and ERR on error.
X/Open Errors:
No errors are defined for this function.
Portability:
PDCurses int winsch( WINDOW* win, chtype ch );
X/Open Dec '88 int winsch( WINDOW* win, chtype ch );
BSD Curses int winsch( WINDOW* win, chtype ch );
SYS V Curses int winsch( WINDOW* win, chtype ch );
**man-end**********************************************************************/
int winsch( WINDOW *win, chtype ch )
{
return( PDC_chins( win, ch, !(_cursvar.raw_out) ) );
}